package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.stylefeng.guns.core.util.OSSUtil;

import java.util.Date;

public class CompanyDto  {
    private Integer id;
    /**
     * 排序
     */
    private Integer num;
    /**
     * 父部门id
     */
    private Integer pid;
    /**
     * 父级ids
     */
    private String pids;
    /**
     * 简称
     */
    private String simplename;
    /**
     * 全称
     */
    private String fullname;
    /**
     * 提示
     */
    private String tips;
    /**
     * 版本（乐观锁保留字段）
     */
    private Integer version;
    /**
     * 企业名称
     */
    private String comName;
    /**
     * 企业logo
     */
    private String comLogFilename;
    private String comLogoFilePath;
    /**
     * 定点生产企业证书
     */
    private String comFpecNo;
    /**
     * 定点生产企业证书有效期至
     */
    private Date comFpecVld;
    /**
     * 定点生产企业证书类型
     */
    private String comFpecType;
    /**
     * 企业地址
     */
    private String comAddress;
    /**
     * 客服热线
     */
    private String comHotline;
    /**
     * 企业联系电话
     */
    private String comPhone;
    /**
     * 企业网址
     */
    private String comUrl;
    private Integer status;
    private Date createtime;
    private String delFlag;
    private String pName;

    /**
     * 维护人
     */
    private String maintainer;

    public String getComLogoFilePath() {
        return OSSUtil.getFileUrl(comLogFilename,999999);
    }

    public void setComLogoFilePath(String comLogoFilePath) {
        this.comLogoFilePath = comLogoFilePath;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPids() {
        return pids;
    }

    public void setPids(String pids) {
        this.pids = pids;
    }

    public String getSimplename() {
        return simplename;
    }

    public void setSimplename(String simplename) {
        this.simplename = simplename;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getComLogFilename() {
        return comLogFilename;
    }

    public void setComLogFilename(String comLogFilename) {
        this.comLogFilename = comLogFilename;
    }

    public String getComFpecNo() {
        return comFpecNo;
    }

    public void setComFpecNo(String comFpecNo) {
        this.comFpecNo = comFpecNo;
    }

    public Date getComFpecVld() {
        return comFpecVld;
    }

    public void setComFpecVld(Date comFpecVld) {
        this.comFpecVld = comFpecVld;
    }

    public String getComFpecType() {
        return comFpecType;
    }

    public void setComFpecType(String comFpecType) {
        this.comFpecType = comFpecType;
    }

    public String getComAddress() {
        return comAddress;
    }

    public void setComAddress(String comAddress) {
        this.comAddress = comAddress;
    }

    public String getComHotline() {
        return comHotline;
    }

    public void setComHotline(String comHotline) {
        this.comHotline = comHotline;
    }

    public String getComPhone() {
        return comPhone;
    }

    public void setComPhone(String comPhone) {
        this.comPhone = comPhone;
    }

    public String getComUrl() {
        return comUrl;
    }

    public void setComUrl(String comUrl) {
        this.comUrl = comUrl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getMaintainer() {
        return maintainer;
    }

    public void setMaintainer(String maintainer) {
        this.maintainer = maintainer;
    }



}
